package com.bridge.applets.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("模型")
public class SearchhisVo {

    /**
     * 用户id
     */
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String userId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private String upUserId;
    /**
     * 上传id
     */
    @ApiModelProperty(value = "上传id")
    private String upid;
    /**
     * 上传时间
     */
    @ApiModelProperty(value = "上传时间")
    private LocalDateTime date;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private String countx;
    /**
     * 宽度
     */
    @ApiModelProperty(value = "宽度")
    private String width;
    /**
     * 高度
     */
    @ApiModelProperty(value = "高度")
    private String height;
    /**
     * 半径
     */
    @ApiModelProperty(value = "半径")
    private String radius;
    /**
     * 直径
     */
    @ApiModelProperty(value = "直径")
    private String diameter;
    /**
     * 标记
     */
    @ApiModelProperty(value = "标记")
    private String flag;
    /**
     * 记录url
     */
    @ApiModelProperty(value = "记录url")
    private String recordURL;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    private String count;
    /**
     * 记录id
     */
    @ApiModelProperty(value = "记录id")
    private String recordID;
    /**
     * 源url
     */
    @ApiModelProperty(value = "源url")
    private String srcURL;

    List<SearchhisResult> results;

    @Data
    public static class SearchhisResult{
        /**
         * 标签
         */
        @ApiModelProperty(value = "标签")
        String label;
        /**
         * 左上
         */
        @ApiModelProperty(value = "左上")
        List<String> left;
        /**
         * 右下
         */
        @ApiModelProperty(value = "右下")
        List<String> right;
    }

}

